<?php if( $errors->hasErrors() ) : ?>
  <div class="errormsgbox">
    <?php echo $errors->renderErrors(); ?>
  </div>
<?php endif; ?>

<form method="POST" action="">
    <table class="tborder" cellspacing="1" cellpadding="4" border="0" style="clear: both; width: 50%;">
        <tbody>

            <tr>
                <td class="thead" colspan="2">
                    <strong>Registration</strong>
                </td>
            </tr>
            <tr>
                <td class="trow1"><strong>Username :</strong></td>
                <td class="trow1" align="center"><input type="text" style="width: 300px;" maxlength="30" size="25" name="username" class="textbox"></td>
            </tr>
            <tr>
                <td class="trow1"><strong>Email :</strong></td>
                <td class="trow1" align="center"><input type="text" style="width: 300px;" maxlength="30" size="25" name="email" class="textbox"></td>
            </tr>
            <tr>
                <td class="trow1"><strong>Password :</strong></td>
                <td class="trow1" align="center"><input type="password" style="width: 300px;" maxlength="30" size="25" name="password" class="textbox"></td>
            </tr>
            <tr>
                <td class="trow1"><strong>Confirm :</strong></td>
                <td class="trow1" align="center"><input type="password" style="width: 300px;" maxlength="30" size="25" name="confirmPassword" class="textbox"></td>
            </tr>
        </tbody>
    </table>

    <br />
    <div align="center">
        <input class="button" type="submit" value="Register" name="submit">
    </div>
    <br />

</form>